package com.fy.fyspace.api;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.beans.factory.annotation.Autowired;
import com.fy.fyspace.service.HelloService;

@Api(tags = "测试接口控制")
@RestController
public class HelloController {
    @Autowired
    private HelloService helloService;

    @ApiOperation(value = "测试接口")
    @GetMapping("/hello")
    public String hello() {
        return helloService.hello();
    }
} 